﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Connect
{
    public partial class ViewExcel : Form
    {
        public ViewExcel()
        {
            InitializeComponent();
        }
        public ViewExcel(DataTable TableExcel)
        {
            InitializeComponent();
            dgvDanhSach.DataSource = TableExcel;
            status.Text = "Tổng số có " + dgvDanhSach.RowCount.ToString() + " dòng dữ liệu";
        }

        private void ViewExcel_Load(object sender, EventArgs e)
        {

        }

    }
}
